Apollonius' theorem